Open topic with navigation
Tank_UpdateStats
Syntax samples
TANK_UPDATESTATS (<Tank ID>)
TANK_UPDATESTATS (TankA)
Description
ProModel calls this subroutine automatically whenever you call any of the predefined subroutines that affect the tank level. If you change the value of the Tank_Level directly, call the Tank_UpdateStats subroutine afterward. This subroutine updates the current statistics on the tank and sets the state to Tank_Filling (if filling), Tank_Emptying (if emptying), Tank_Blocked (if full), or Tank_Idle (if empty).
You should not need to use this subroutine unless you defined a customized Tank_Empty, Tank_Fill, or Tank_Transfer subroutine.
Components
<Tank ID>
The tank name or location index number.
|
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |